UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

VMware Postgres must limit modify privileges to authorized accounts.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239202 VCPG-67-000009 SV-239202r717054_rule Medium
Description
If VMware Postgres were to allow any user to make changes to database structure or logic, those changes might be implemented without undergoing the appropriate testing and approvals that are part of a robust change management process. Accordingly, only qualified and authorized individuals must be allowed to obtain access to information system components to initiate changes, including upgrades and modifications. Unmanaged changes that occur to the database software libraries or configuration can lead to unauthorized or compromised installations.
STIG Date
VMware vSphere 6.7 PostgreSQL Security Technical Implementation Guide 2021-04-15

Details

Check Text ( C-42435r678977_chk )
At the command prompt, execute the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "\du;"|grep "Create"

Expected result:

postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
vc | Create DB | {}

If the accounts other than "postgres" and "vc" have any "Create" privileges, this is a finding.
Fix Text (F-42394r678978_fix)
At the command prompt, execute the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "REVOKE ALL PRIVILEGES FROM ;"

Replace with the account discovered during the check.